Technical Q&As
QD3D 74 - No Standard UV Parameters For Mesh (11-July-97)
Q
Does QuickDraw 3D provide standard UV parameters for the mesh? I'd like
to apply a texture on a mesh in my application.
A
The answer can be found in "3D Graphics Programming With QD3D" pg.4-16:
"Some objects have neither a natural surface parameterization nor a standard surface
parameterization supplied by QuickDraw 3D. For example, the faces of a mesh have neither
type of parameterization. To apply a texture to such an
object, you need to define your own custom surface parameterization. You do this by
adding attributes of type kQ3AttributeTypeSurfaceUV
to the vertices of the
object."
In addition, there is an example in develop journal issue 28 which shows how to
create a mesh with UV parameters. Look for the article
"New QD3D Geometries"
(specifically, pg. 50-52) by Philip Schneider. You can find electronic copies of develop
journal on the developer CD.
-- Scott Kuechle
Worldwide Developer Technical Support
Technical Q&As
Previous Question | Contents |
Next Question
To contact us, please use the Contact Us page.